package com.panshi.qa.provider.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.panshi.qa.api.vo.ItemQueryVo;
import com.panshi.qa.provider.modules.domain.QaQuesitonRelevance;
import com.panshi.qa.provider.modules.domain.QaQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionRelevanceService extends IService<QaQuesitonRelevance>{
   //查询问题关联表对象列表
    List<QaQuesitonRelevance> findQuestionRelevanceList(@Param("myPage") ItemQueryVo myPage, @Param("qaQuestion") QaQuestion qaQuestion, @Param("value") String value);
    //计算问答列表总记录数
    Integer findQuestionRelevanceListTotal(QaQuestion qaQuestionData);
    //首页推荐问答
    List<QaQuesitonRelevance> findHomeQaQuestion();
}
